attribute vec4 vPos; 

varying float intensity;
uniform mat4 mvpMatrix;
void main (void) 
{ 
 //gl_PointSize = 20.0;
 vec3 test = vPos.xyz;
 intensity = length(test);
 //intensity = 0.0;
 gl_Position = mvpMatrix * vPos;
}

